package org.rsbot.gui.actions;

import org.rsbot.bot.Bot;
import org.rsbot.gui.BotGUI;
import org.rsbot.gui.ConsolePanel;
import org.rsbot.util.ScreenshotUtil;

/**
 * @author Sorcermus
 */
public class ShotUnCmd1 extends BaseAction1 {

    private static final long serialVersionUID = 89567527547437753L;
    private BotGUI gui;

    public ShotUnCmd1(ConsolePanel frame) {
        super(frame);
    }

    public void actionPerformed(java.awt.event.ActionEvent e) {
        Bot current = gui.getCurrentBot();
        if (current != null) {
            ScreenshotUtil.takeScreenshot(current, false);
        }
    }
}
